package com.cloud.force.common.consts;

/**
 * 行政处罚系统配置项
 * 
 * @author taominglong
 *
 */
public class ForceConsts {
	// 常量，系统在数据库对应的主键
	public static final long SYS_ID = 15L;
	
	public static final String BIZ_ID = "02";

	// 数据类型
	public static final int DATA_TYPE_TEXT = 1;
	public static final String DATA_TYPE_TEXT_NAME = "字符文本";
	public static final int DATA_TYPE_NUMBER = 2;
	public static final String DATA_TYPE_NUMBER_NAME = "数字";
	public static final int DATA_TYPE_DATE = 3;
	public static final String DATA_TYPE_DATE_NAME = "日期";

	// 箱子查询条件
	public static final String SEARCH_FIELD_INPUT = "input";
	public static final String SEARCH_FIELD_CALENDAR = "calendar";
	public static final String SEARCH_FIELD_DROPDOWN = "dropdown";

	// SQL解析上下文
	public static final String CONTEXT_HUMAN_ID = "humanId";
	public static final String CONTEXT_HUMAN_ID_COLUMN = "human_id";
	public static final String CONTEXT_HUMAN_NAME = "humanName";
	public static final String CONTEXT_HUMAN_NAME_COLUMN = "human_name";
	public static final String CONTEXT_UNIT_ID = "unitId";
	public static final String CONTEXT_UNIT_ID_COLUMN = "unit_id";
	public static final String CONTEXT_UNIT_NAME = "unitName";
	public static final String CONTEXT_UNIT_NAME_COLUMN = "unit_name";
	public static final String CONTEXT_UNIT_CODE = "unitCode";
	public static final String CONTEXT_UNIT_CODE_COLUMN = "unit_code"; 
	public static final String CONTEXT_PART_ID = "partId";
	public static final String CONTEXT_PART_ID_COLUMN = "part_id";
	
	//字典项配置
	//强制案件来源
	public static final String FORCE_EVENT_SOURCE_TYPES = "FORCE_EVENT_SOURCE_TYPES";
	//强制当事人证件类型
	public static final String FORCE_IDCARD_TYPES = "FORCE_IDCARD_TYPES";
	//强制措施当事人类型
	public static final String FORCE_LITIGANT_TYPES = "FORCE_LITIGANT_TYPES";
	//强制措施处理决定
	public static final String FORCE_MEASURE_HANDLE_TYPES = "FORCE_MEASURE_HANDLE_TYPES";
	//强制措施总类
	public static final String FORCE_MEASURE_TYPES = "FORCE_MEASURE_TYPES";
	//强制措施送达方式
	public static final String FORCE_RECEIVE_TYPES = "FORCE_RECEIVE_TYPES";
	
	//强制执行方式
	public static final String FORCE_EXECUTE_TYPES = "FORCE_EXECUTE_TYPES";

	// 代码类型
	public static final String FORCE_CODE_TYPES = "FORCE_CODE_TYPES";

	//案卷状态编码
	public static final int REC_STATE_NORMAL = 0;
	public static final String REC_STATE_NAME_NORMAL = "正常";
	
	public static final int REC_STATE_CANCEL = 99;
	public static final String REC_STATE_NAME_CANCEL = "作废";
}
